<div id="listVenda">
  <table id="newspaper-a">
    <thead>
      <tr>
        <th><g:message code="venda.id.label" default="Numero" /></th>
    <th><g:message code="venda.vendedor.label" default="Vendedor" /></th>
    <th>Data Venda</th>
    <th>Valor Venda</th>
    </tr>
    </thead>
    <tbody>
    <g:each in="${vendaInstanceList}" status="i" var="vendaInstance">
      <tr class="${(i % 2) == 0 ? 'even' : 'odd'}">

        <td><g:link action="show" id="${vendaInstance?.id}">${fieldValue(bean: vendaInstance, field: "id")}</g:link></td>
      <td>${fieldValue(bean: vendaInstance, field: "vendedor")}</td>
      <td><g:formatDate format="dd/MM/yyyy" date="${vendaInstance?.dateCreated}" /></td>
      <td><g:moeda valor="${vendaInstance?.valorTotal}" /></td>

      </tr>
    </g:each>
    </tbody>
  </table>
</div>